<?php



class TaxClassMapBuilder {

	
	const CLASS_NAME = 'lib.model.map.TaxClassMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap('propel');

		$tMap = $this->dbMap->addTable('tax_class');
		$tMap->setPhpName('TaxClass');

		$tMap->setUseIdGenerator(true);

		$tMap->addPrimaryKey('TAX_CLASS_ID', 'TaxClassId', 'int', CreoleTypes::INTEGER, true, null);

		$tMap->addColumn('TAX_CLASS_TITLE', 'TaxClassTitle', 'string', CreoleTypes::VARCHAR, true, 32);

		$tMap->addColumn('TAX_CLASS_DESCRIPTION', 'TaxClassDescription', 'string', CreoleTypes::VARCHAR, true, 255);

		$tMap->addColumn('CREATED_AT', 'CreatedAt', 'int', CreoleTypes::TIMESTAMP, false, null);

		$tMap->addColumn('UPDATED_AT', 'UpdatedAt', 'int', CreoleTypes::TIMESTAMP, false, null);

		$tMap->addColumn('DELETED_AT', 'DeletedAt', 'int', CreoleTypes::TIMESTAMP, false, null);

	} 
} 